
import requireIndex from 'es6-requireindex';

const server = {};
const dir = requireIndex(__dirname);
Object.keys(dir).forEach((item) => {
  server[item] = new dir[item];
});

export default server;
